<template>
    <view class="page">
        <view class="top" />
        <slot></slot>
    </view>
</template>

<script>
    export default {
        name: "Page",
    }
</script>

<style scoped lang="scss">
    .page {
        position: relative;
        background-color: #f4f4f7;
        display: flex;
        flex-direction: column;
        font-size: 2rem;
        min-height: 100vh;

        .top {
            position: absolute;
            background: url(./img/blue.png);
            height: 40rem;
            width: 100%;
            z-index: 0;
        }
    }
</style>